﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>工序基础数据维护</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
</head>
<body>
<div style="margin:0px 1px 0px 0px">
    <div class="panelSection">
        <div class="easyui-panel " title="查询区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin: 3px 0px 3px 3px">
                <div id="productContent">
                </div>
                <div id="workflowContent">
                </div>
                <div style="float: left; margin-left: 20px">
                    <button id="btnSearch" class="easyui-linkbutton" data-options="" style="margin-top: 16px;">
                        查询</button>
                </div>
                 <div style="float: left; margin-left: 20px">
                    <button id="btnWorkTimeUp" class="easyui-linkbutton" data-options="" style="margin-top: 16px;">
                        实做工时传递</button>
                </div>
                <div style="clear: both">
                </div>
            </div>
        </div>
    </div>
    <div class="panelSection">
        <div class="easyui-panel " title="工序明细" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin: 3px 0px 3px 3px" id="divOtherRev">
                <div style="float: left">
                    <div class="divLabel" style="margin-bottom: 5px;">
                        其他工艺版本：</div>
                    <select style='width: 200px; height: 20px;' id='selWfOtherRev' data-options='editable:false'
                        class='easyui-combobox'>
                    </select>
                </div>
                <div style="float: left; margin-top: 15px">
                    <button id="btnOtherRev" class="easyui-linkbutton" type="button" style="margin-left: 10px;
                        float: left">
                        属性获取</button>
                    <div style="width: 120px; margin-top: 3px; float: left">
                        <input type="checkbox" id="isSomeWorkflow" checked="checked" /><label>默认同名工艺</label>
                    </div>
                </div>
                <div style="clear: both">
                </div>
            </div>
            <div style="background: #fff; margin: 3px 0px 3px 3px">
                <div style="width: 100%">
                    <table id="gdStepInfo" class="easyui-datagrid" style="width: 100%; height: 300px;"
                        data-options="rownumbers:true">
                    </table>
                </div>
                <div style="clear: both">
                </div>
            </div>
        </div>
    </div>
    <div class="panelSection" id="divWorkcenter">
        <div class="easyui-panel " title="工序工区维护" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin: 3px 0px 3px 3px">
                <div style="float: left">
                    <div class="divLabel" style="margin-bottom: 5px">
                        工区：</div>
                    <select style='width: 200px; height: 20px' id='selWorkCenter' data-options='editable:false'
                        class='easyui-combobox'>
                    </select>
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        班组：</div>
                    <select style='width: 200px; height: 20px' id='selTeam' data-options='editable:false'
                        class='easyui-combobox'>
                    </select>
                </div>
                <div style="float: left; margin-left: 10px;">
                    <button id="btnAddWorkCenter" class="easyui-linkbutton" type="button" style="width: 60px;
                        height: 20px;margin-top: 17px">
                        添加</button>
                    <button id="btnClearWorkCenter" class="easyui-linkbutton" type="button" style="width: 60px;
                        height: 20px; margin-top: 17px">
                        清除</button>
                </div>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </div>
    <div class="panelSection" id="divTime">
        <div class="easyui-panel " title="工序工时维护" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
              <div style="margin: 3px 0px 3px 3px">
            <div style="float: left">
                <div class="divLabel" style="margin-bottom: 5px">
                    单位工时：</div>
                <input id="txtUnitTime" class="easyui-textbox" style="width: 100px; height: 20px" />
            </div>
            <div style="float: left; margin-left: 10px">
                <div class="divLabel" style="margin-bottom: 5px">
                    准备工时：</div>
                <input id="txtPrepareTime" class="easyui-textbox" style="width: 100px; height: 20px" />
            </div>
            <div style="float: left; margin-left: 10px">
                <button id="btnAddTime" class="easyui-linkbutton" type="button" style="width: 60px;
                    height: 20px; margin-top: 17px">
                    添加</button>
                <button id="btnClearTime" class="easyui-linkbutton" type="button" style="width: 60px;
                    height: 20px; margin-top: 17px">
                    清除</button>
            </div>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </div>
    <div class="panelSection" id="divProductionCycle">
        <div class="easyui-panel " title="工序生产周期维护" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="width: 90%;margin: 3px 0px 3px 3px">
                <div style="float: left">
                    <div class="divLabel" style="margin-bottom: 5px">
                        准备时间(分钟/批)：</div>
                    <input id="txtPrepareCycle" class="easyui-textbox" style="width: 100px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        加工时间(分钟/件)：</div>
                    <input id="txtMakeCycle" class="easyui-textbox" style="width: 100px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        运转时间(分钟/批)：</div>
                    <input id="txtTransfeCycle" class="easyui-textbox" style="width: 100px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        转工周期(小时/批)：</div>
                    <input id="txtShipCycle" class="easyui-textbox" style="width: 100px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        外委周期(天/批)：</div>
                    <input id="txtCommiCycle" class="easyui-textbox" style="width: 100px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        作业人数：</div>
                    <input id="txtMakeEmpCounts" class="easyui-numberbox" style="width: 60px; height: 20px"
                        data-options="min:1" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        装炉/槽量：</div>
                    <input id="txtChargingQty" class="easyui-textbox" style="width: 60px; height: 20px"
                        data-options="min:1" />
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 90%;margin: 3px 0px 3px 3px">
                <div style="float: left;">
                    <div class="divLabel" style="margin-bottom: 5px">
                        多机并行：</div>
                    <select style='width: 100px; height: 20px' id='selMultimachineParallel' data-options='value:0,editable:false,panelHeight:80'
                        class='easyui-combobox'>
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </select>
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        备注：</div>
                    <input id="txtRemark" class="easyui-textbox" style="width: 210px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <button id="btnAddCycle" class="easyui-linkbutton" type="button" style="width: 60px;
                        height: 20px; margin-top: 17px">
                        添加</button>
                    <button id="btnClearCycle" class="easyui-linkbutton" type="button" style="width: 60px;
                        height: 20px; margin-top: 17px">
                        清除</button>
                </div>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </div>
     <div class="panelSection" id="divCommodityTime">
        <div class="easyui-panel " title="商品工时维护" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div style="float: left;">
                    <div class="divLabel" style="margin-bottom: 5px">
                        商品工时：</div>
                    <input id="txtCommodityTime" class="easyui-textbox" style="width: 200px; height: 20px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <button id="btnAddCommodityTime" class="easyui-linkbutton" type="button" style="width: 60px;
                        height: 20px; margin-top: 17px">
                        添加</button>
                </div>
            <div style="clear: both">
            </div>
        </div>
    </div>
    <div class="panelSection" id="divResource">
        <div class="easyui-panel " title="工序设备维护" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="background: #fff; margin: 3px 0px 3px 3px">
                <div style="width: 550px; float: left">
                    <table id="gdStepResource" class="easyui-datagrid" style="width: 100%; height: 300px;"
                        data-options="">
                    </table>
                    <button id="btnDeleResource" class="easyui-linkbutton" type="button" style="width: 100px;
                        height: 20px; margin-top: 5px">
                        移除设备</button>
                </div>
                <div style="width: 380px; float: left; margin-left: 10px">
                    <div style="float: left">
                        <div class="divLabel" style="margin-top: 5px; float: left">
                            设备名称：</div>
                        <input id="txtResource" class="easyui-textbox" style="width: 100px; height: 20px;
                            float: left" />
                    </div>
                    <div style="float: left">
                        <div class="divLabel" style="margin-top: 5px; float: left">
                            设备编号：</div>
                        <input id="txtResourceNum" class="easyui-textbox" style="width: 100px; height: 20px;
                            float: left" />
                    </div>
                    <button id="btnResource" class="easyui-linkbutton" type="button" style="width: 60px;
                        height: 20px; margin-top: 0px">
                        搜索</button>
                    <table id="gdResource" class="easyui-datagrid" style="width: 100%; height: 280px"
                        data-options="">
                    </table>
                    <button id="btnAddResource" class="easyui-linkbutton" type="button" style="width: 80px;
                        height: 20px; margin-top: 5px">
                        添加</button>
                </div>
                <div style="clear: both">
                </div>
            </div>
        </div>
    </div>
    <div class="panelSection">
        <div class="easyui-panel " title="按钮区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin: 3px 0px 3px 3px">
                <button id="btnSave" class="easyui-linkbutton" type="button" style="width: 100px;
                    height: 26px">
                    保存</button>
            </div>
        </div>
    </div>
    <!-- <div id="statusMessage" style="font-size: 14px; height: 40px"> </div>-->
    </div>
</body>
</html>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ProductLinkageWorkflow.js"
    type="text/javascript"></script> 
<script type="text/javascript"> 
    document.write('<script src="/InSiteWebApplication/Scripts/CustomPageJs/WorkCenterMaintainPage.js?V=' + new Date().getTime() + '" type="text/javascript" ><\/script>');
</script>
